package com.cn.kehong.domain;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class PhysicaChemicalGranularityExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public PhysicaChemicalGranularityExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(String value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(String value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(String value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(String value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(String value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(String value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLike(String value) {
            addCriterion("id like", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotLike(String value) {
            addCriterion("id not like", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<String> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<String> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(String value1, String value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(String value1, String value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andPhysicalIdIsNull() {
            addCriterion("physical_id is null");
            return (Criteria) this;
        }

        public Criteria andPhysicalIdIsNotNull() {
            addCriterion("physical_id is not null");
            return (Criteria) this;
        }

        public Criteria andPhysicalIdEqualTo(String value) {
            addCriterion("physical_id =", value, "physicalId");
            return (Criteria) this;
        }

        public Criteria andPhysicalIdNotEqualTo(String value) {
            addCriterion("physical_id <>", value, "physicalId");
            return (Criteria) this;
        }

        public Criteria andPhysicalIdGreaterThan(String value) {
            addCriterion("physical_id >", value, "physicalId");
            return (Criteria) this;
        }

        public Criteria andPhysicalIdGreaterThanOrEqualTo(String value) {
            addCriterion("physical_id >=", value, "physicalId");
            return (Criteria) this;
        }

        public Criteria andPhysicalIdLessThan(String value) {
            addCriterion("physical_id <", value, "physicalId");
            return (Criteria) this;
        }

        public Criteria andPhysicalIdLessThanOrEqualTo(String value) {
            addCriterion("physical_id <=", value, "physicalId");
            return (Criteria) this;
        }

        public Criteria andPhysicalIdLike(String value) {
            addCriterion("physical_id like", value, "physicalId");
            return (Criteria) this;
        }

        public Criteria andPhysicalIdNotLike(String value) {
            addCriterion("physical_id not like", value, "physicalId");
            return (Criteria) this;
        }

        public Criteria andPhysicalIdIn(List<String> values) {
            addCriterion("physical_id in", values, "physicalId");
            return (Criteria) this;
        }

        public Criteria andPhysicalIdNotIn(List<String> values) {
            addCriterion("physical_id not in", values, "physicalId");
            return (Criteria) this;
        }

        public Criteria andPhysicalIdBetween(String value1, String value2) {
            addCriterion("physical_id between", value1, value2, "physicalId");
            return (Criteria) this;
        }

        public Criteria andPhysicalIdNotBetween(String value1, String value2) {
            addCriterion("physical_id not between", value1, value2, "physicalId");
            return (Criteria) this;
        }

        public Criteria andDminIsNull() {
            addCriterion("dmin is null");
            return (Criteria) this;
        }

        public Criteria andDminIsNotNull() {
            addCriterion("dmin is not null");
            return (Criteria) this;
        }

        public Criteria andDminEqualTo(String value) {
            addCriterion("dmin =", value, "dmin");
            return (Criteria) this;
        }

        public Criteria andDminNotEqualTo(String value) {
            addCriterion("dmin <>", value, "dmin");
            return (Criteria) this;
        }

        public Criteria andDminGreaterThan(String value) {
            addCriterion("dmin >", value, "dmin");
            return (Criteria) this;
        }

        public Criteria andDminGreaterThanOrEqualTo(String value) {
            addCriterion("dmin >=", value, "dmin");
            return (Criteria) this;
        }

        public Criteria andDminLessThan(String value) {
            addCriterion("dmin <", value, "dmin");
            return (Criteria) this;
        }

        public Criteria andDminLessThanOrEqualTo(String value) {
            addCriterion("dmin <=", value, "dmin");
            return (Criteria) this;
        }

        public Criteria andDminLike(String value) {
            addCriterion("dmin like", value, "dmin");
            return (Criteria) this;
        }

        public Criteria andDminNotLike(String value) {
            addCriterion("dmin not like", value, "dmin");
            return (Criteria) this;
        }

        public Criteria andDminIn(List<String> values) {
            addCriterion("dmin in", values, "dmin");
            return (Criteria) this;
        }

        public Criteria andDminNotIn(List<String> values) {
            addCriterion("dmin not in", values, "dmin");
            return (Criteria) this;
        }

        public Criteria andDminBetween(String value1, String value2) {
            addCriterion("dmin between", value1, value2, "dmin");
            return (Criteria) this;
        }

        public Criteria andDminNotBetween(String value1, String value2) {
            addCriterion("dmin not between", value1, value2, "dmin");
            return (Criteria) this;
        }

        public Criteria andD10IsNull() {
            addCriterion("d10 is null");
            return (Criteria) this;
        }

        public Criteria andD10IsNotNull() {
            addCriterion("d10 is not null");
            return (Criteria) this;
        }

        public Criteria andD10EqualTo(String value) {
            addCriterion("d10 =", value, "d10");
            return (Criteria) this;
        }

        public Criteria andD10NotEqualTo(String value) {
            addCriterion("d10 <>", value, "d10");
            return (Criteria) this;
        }

        public Criteria andD10GreaterThan(String value) {
            addCriterion("d10 >", value, "d10");
            return (Criteria) this;
        }

        public Criteria andD10GreaterThanOrEqualTo(String value) {
            addCriterion("d10 >=", value, "d10");
            return (Criteria) this;
        }

        public Criteria andD10LessThan(String value) {
            addCriterion("d10 <", value, "d10");
            return (Criteria) this;
        }

        public Criteria andD10LessThanOrEqualTo(String value) {
            addCriterion("d10 <=", value, "d10");
            return (Criteria) this;
        }

        public Criteria andD10Like(String value) {
            addCriterion("d10 like", value, "d10");
            return (Criteria) this;
        }

        public Criteria andD10NotLike(String value) {
            addCriterion("d10 not like", value, "d10");
            return (Criteria) this;
        }

        public Criteria andD10In(List<String> values) {
            addCriterion("d10 in", values, "d10");
            return (Criteria) this;
        }

        public Criteria andD10NotIn(List<String> values) {
            addCriterion("d10 not in", values, "d10");
            return (Criteria) this;
        }

        public Criteria andD10Between(String value1, String value2) {
            addCriterion("d10 between", value1, value2, "d10");
            return (Criteria) this;
        }

        public Criteria andD10NotBetween(String value1, String value2) {
            addCriterion("d10 not between", value1, value2, "d10");
            return (Criteria) this;
        }

        public Criteria andD50IsNull() {
            addCriterion("d50 is null");
            return (Criteria) this;
        }

        public Criteria andD50IsNotNull() {
            addCriterion("d50 is not null");
            return (Criteria) this;
        }

        public Criteria andD50EqualTo(String value) {
            addCriterion("d50 =", value, "d50");
            return (Criteria) this;
        }

        public Criteria andD50NotEqualTo(String value) {
            addCriterion("d50 <>", value, "d50");
            return (Criteria) this;
        }

        public Criteria andD50GreaterThan(String value) {
            addCriterion("d50 >", value, "d50");
            return (Criteria) this;
        }

        public Criteria andD50GreaterThanOrEqualTo(String value) {
            addCriterion("d50 >=", value, "d50");
            return (Criteria) this;
        }

        public Criteria andD50LessThan(String value) {
            addCriterion("d50 <", value, "d50");
            return (Criteria) this;
        }

        public Criteria andD50LessThanOrEqualTo(String value) {
            addCriterion("d50 <=", value, "d50");
            return (Criteria) this;
        }

        public Criteria andD50Like(String value) {
            addCriterion("d50 like", value, "d50");
            return (Criteria) this;
        }

        public Criteria andD50NotLike(String value) {
            addCriterion("d50 not like", value, "d50");
            return (Criteria) this;
        }

        public Criteria andD50In(List<String> values) {
            addCriterion("d50 in", values, "d50");
            return (Criteria) this;
        }

        public Criteria andD50NotIn(List<String> values) {
            addCriterion("d50 not in", values, "d50");
            return (Criteria) this;
        }

        public Criteria andD50Between(String value1, String value2) {
            addCriterion("d50 between", value1, value2, "d50");
            return (Criteria) this;
        }

        public Criteria andD50NotBetween(String value1, String value2) {
            addCriterion("d50 not between", value1, value2, "d50");
            return (Criteria) this;
        }

        public Criteria andD90IsNull() {
            addCriterion("d90 is null");
            return (Criteria) this;
        }

        public Criteria andD90IsNotNull() {
            addCriterion("d90 is not null");
            return (Criteria) this;
        }

        public Criteria andD90EqualTo(String value) {
            addCriterion("d90 =", value, "d90");
            return (Criteria) this;
        }

        public Criteria andD90NotEqualTo(String value) {
            addCriterion("d90 <>", value, "d90");
            return (Criteria) this;
        }

        public Criteria andD90GreaterThan(String value) {
            addCriterion("d90 >", value, "d90");
            return (Criteria) this;
        }

        public Criteria andD90GreaterThanOrEqualTo(String value) {
            addCriterion("d90 >=", value, "d90");
            return (Criteria) this;
        }

        public Criteria andD90LessThan(String value) {
            addCriterion("d90 <", value, "d90");
            return (Criteria) this;
        }

        public Criteria andD90LessThanOrEqualTo(String value) {
            addCriterion("d90 <=", value, "d90");
            return (Criteria) this;
        }

        public Criteria andD90Like(String value) {
            addCriterion("d90 like", value, "d90");
            return (Criteria) this;
        }

        public Criteria andD90NotLike(String value) {
            addCriterion("d90 not like", value, "d90");
            return (Criteria) this;
        }

        public Criteria andD90In(List<String> values) {
            addCriterion("d90 in", values, "d90");
            return (Criteria) this;
        }

        public Criteria andD90NotIn(List<String> values) {
            addCriterion("d90 not in", values, "d90");
            return (Criteria) this;
        }

        public Criteria andD90Between(String value1, String value2) {
            addCriterion("d90 between", value1, value2, "d90");
            return (Criteria) this;
        }

        public Criteria andD90NotBetween(String value1, String value2) {
            addCriterion("d90 not between", value1, value2, "d90");
            return (Criteria) this;
        }

        public Criteria andD100IsNull() {
            addCriterion("d100 is null");
            return (Criteria) this;
        }

        public Criteria andD100IsNotNull() {
            addCriterion("d100 is not null");
            return (Criteria) this;
        }

        public Criteria andD100EqualTo(String value) {
            addCriterion("d100 =", value, "d100");
            return (Criteria) this;
        }

        public Criteria andD100NotEqualTo(String value) {
            addCriterion("d100 <>", value, "d100");
            return (Criteria) this;
        }

        public Criteria andD100GreaterThan(String value) {
            addCriterion("d100 >", value, "d100");
            return (Criteria) this;
        }

        public Criteria andD100GreaterThanOrEqualTo(String value) {
            addCriterion("d100 >=", value, "d100");
            return (Criteria) this;
        }

        public Criteria andD100LessThan(String value) {
            addCriterion("d100 <", value, "d100");
            return (Criteria) this;
        }

        public Criteria andD100LessThanOrEqualTo(String value) {
            addCriterion("d100 <=", value, "d100");
            return (Criteria) this;
        }

        public Criteria andD100Like(String value) {
            addCriterion("d100 like", value, "d100");
            return (Criteria) this;
        }

        public Criteria andD100NotLike(String value) {
            addCriterion("d100 not like", value, "d100");
            return (Criteria) this;
        }

        public Criteria andD100In(List<String> values) {
            addCriterion("d100 in", values, "d100");
            return (Criteria) this;
        }

        public Criteria andD100NotIn(List<String> values) {
            addCriterion("d100 not in", values, "d100");
            return (Criteria) this;
        }

        public Criteria andD100Between(String value1, String value2) {
            addCriterion("d100 between", value1, value2, "d100");
            return (Criteria) this;
        }

        public Criteria andD100NotBetween(String value1, String value2) {
            addCriterion("d100 not between", value1, value2, "d100");
            return (Criteria) this;
        }

        public Criteria andResultJudgmentIsNull() {
            addCriterion("result_judgment is null");
            return (Criteria) this;
        }

        public Criteria andResultJudgmentIsNotNull() {
            addCriterion("result_judgment is not null");
            return (Criteria) this;
        }

        public Criteria andResultJudgmentEqualTo(String value) {
            addCriterion("result_judgment =", value, "resultJudgment");
            return (Criteria) this;
        }

        public Criteria andResultJudgmentNotEqualTo(String value) {
            addCriterion("result_judgment <>", value, "resultJudgment");
            return (Criteria) this;
        }

        public Criteria andResultJudgmentGreaterThan(String value) {
            addCriterion("result_judgment >", value, "resultJudgment");
            return (Criteria) this;
        }

        public Criteria andResultJudgmentGreaterThanOrEqualTo(String value) {
            addCriterion("result_judgment >=", value, "resultJudgment");
            return (Criteria) this;
        }

        public Criteria andResultJudgmentLessThan(String value) {
            addCriterion("result_judgment <", value, "resultJudgment");
            return (Criteria) this;
        }

        public Criteria andResultJudgmentLessThanOrEqualTo(String value) {
            addCriterion("result_judgment <=", value, "resultJudgment");
            return (Criteria) this;
        }

        public Criteria andResultJudgmentLike(String value) {
            addCriterion("result_judgment like", value, "resultJudgment");
            return (Criteria) this;
        }

        public Criteria andResultJudgmentNotLike(String value) {
            addCriterion("result_judgment not like", value, "resultJudgment");
            return (Criteria) this;
        }

        public Criteria andResultJudgmentIn(List<String> values) {
            addCriterion("result_judgment in", values, "resultJudgment");
            return (Criteria) this;
        }

        public Criteria andResultJudgmentNotIn(List<String> values) {
            addCriterion("result_judgment not in", values, "resultJudgment");
            return (Criteria) this;
        }

        public Criteria andResultJudgmentBetween(String value1, String value2) {
            addCriterion("result_judgment between", value1, value2, "resultJudgment");
            return (Criteria) this;
        }

        public Criteria andResultJudgmentNotBetween(String value1, String value2) {
            addCriterion("result_judgment not between", value1, value2, "resultJudgment");
            return (Criteria) this;
        }

        public Criteria andDetectionResultIsNull() {
            addCriterion("detection_result is null");
            return (Criteria) this;
        }

        public Criteria andDetectionResultIsNotNull() {
            addCriterion("detection_result is not null");
            return (Criteria) this;
        }

        public Criteria andDetectionResultEqualTo(String value) {
            addCriterion("detection_result =", value, "detectionResult");
            return (Criteria) this;
        }

        public Criteria andDetectionResultNotEqualTo(String value) {
            addCriterion("detection_result <>", value, "detectionResult");
            return (Criteria) this;
        }

        public Criteria andDetectionResultGreaterThan(String value) {
            addCriterion("detection_result >", value, "detectionResult");
            return (Criteria) this;
        }

        public Criteria andDetectionResultGreaterThanOrEqualTo(String value) {
            addCriterion("detection_result >=", value, "detectionResult");
            return (Criteria) this;
        }

        public Criteria andDetectionResultLessThan(String value) {
            addCriterion("detection_result <", value, "detectionResult");
            return (Criteria) this;
        }

        public Criteria andDetectionResultLessThanOrEqualTo(String value) {
            addCriterion("detection_result <=", value, "detectionResult");
            return (Criteria) this;
        }

        public Criteria andDetectionResultLike(String value) {
            addCriterion("detection_result like", value, "detectionResult");
            return (Criteria) this;
        }

        public Criteria andDetectionResultNotLike(String value) {
            addCriterion("detection_result not like", value, "detectionResult");
            return (Criteria) this;
        }

        public Criteria andDetectionResultIn(List<String> values) {
            addCriterion("detection_result in", values, "detectionResult");
            return (Criteria) this;
        }

        public Criteria andDetectionResultNotIn(List<String> values) {
            addCriterion("detection_result not in", values, "detectionResult");
            return (Criteria) this;
        }

        public Criteria andDetectionResultBetween(String value1, String value2) {
            addCriterion("detection_result between", value1, value2, "detectionResult");
            return (Criteria) this;
        }

        public Criteria andDetectionResultNotBetween(String value1, String value2) {
            addCriterion("detection_result not between", value1, value2, "detectionResult");
            return (Criteria) this;
        }

        public Criteria andResultIsNull() {
            addCriterion("result is null");
            return (Criteria) this;
        }

        public Criteria andResultIsNotNull() {
            addCriterion("result is not null");
            return (Criteria) this;
        }

        public Criteria andResultEqualTo(String value) {
            addCriterion("result =", value, "result");
            return (Criteria) this;
        }

        public Criteria andResultNotEqualTo(String value) {
            addCriterion("result <>", value, "result");
            return (Criteria) this;
        }

        public Criteria andResultGreaterThan(String value) {
            addCriterion("result >", value, "result");
            return (Criteria) this;
        }

        public Criteria andResultGreaterThanOrEqualTo(String value) {
            addCriterion("result >=", value, "result");
            return (Criteria) this;
        }

        public Criteria andResultLessThan(String value) {
            addCriterion("result <", value, "result");
            return (Criteria) this;
        }

        public Criteria andResultLessThanOrEqualTo(String value) {
            addCriterion("result <=", value, "result");
            return (Criteria) this;
        }

        public Criteria andResultLike(String value) {
            addCriterion("result like", value, "result");
            return (Criteria) this;
        }

        public Criteria andResultNotLike(String value) {
            addCriterion("result not like", value, "result");
            return (Criteria) this;
        }

        public Criteria andResultIn(List<String> values) {
            addCriterion("result in", values, "result");
            return (Criteria) this;
        }

        public Criteria andResultNotIn(List<String> values) {
            addCriterion("result not in", values, "result");
            return (Criteria) this;
        }

        public Criteria andResultBetween(String value1, String value2) {
            addCriterion("result between", value1, value2, "result");
            return (Criteria) this;
        }

        public Criteria andResultNotBetween(String value1, String value2) {
            addCriterion("result not between", value1, value2, "result");
            return (Criteria) this;
        }

        public Criteria andInspectorTimeIsNull() {
            addCriterion("inspector_time is null");
            return (Criteria) this;
        }

        public Criteria andInspectorTimeIsNotNull() {
            addCriterion("inspector_time is not null");
            return (Criteria) this;
        }

        public Criteria andInspectorTimeEqualTo(Date value) {
            addCriterion("inspector_time =", value, "inspectorTime");
            return (Criteria) this;
        }

        public Criteria andInspectorTimeNotEqualTo(Date value) {
            addCriterion("inspector_time <>", value, "inspectorTime");
            return (Criteria) this;
        }

        public Criteria andInspectorTimeGreaterThan(Date value) {
            addCriterion("inspector_time >", value, "inspectorTime");
            return (Criteria) this;
        }

        public Criteria andInspectorTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("inspector_time >=", value, "inspectorTime");
            return (Criteria) this;
        }

        public Criteria andInspectorTimeLessThan(Date value) {
            addCriterion("inspector_time <", value, "inspectorTime");
            return (Criteria) this;
        }

        public Criteria andInspectorTimeLessThanOrEqualTo(Date value) {
            addCriterion("inspector_time <=", value, "inspectorTime");
            return (Criteria) this;
        }

        public Criteria andInspectorTimeIn(List<Date> values) {
            addCriterion("inspector_time in", values, "inspectorTime");
            return (Criteria) this;
        }

        public Criteria andInspectorTimeNotIn(List<Date> values) {
            addCriterion("inspector_time not in", values, "inspectorTime");
            return (Criteria) this;
        }

        public Criteria andInspectorTimeBetween(Date value1, Date value2) {
            addCriterion("inspector_time between", value1, value2, "inspectorTime");
            return (Criteria) this;
        }

        public Criteria andInspectorTimeNotBetween(Date value1, Date value2) {
            addCriterion("inspector_time not between", value1, value2, "inspectorTime");
            return (Criteria) this;
        }

        public Criteria andInspectorIsNull() {
            addCriterion("inspector is null");
            return (Criteria) this;
        }

        public Criteria andInspectorIsNotNull() {
            addCriterion("inspector is not null");
            return (Criteria) this;
        }

        public Criteria andInspectorEqualTo(String value) {
            addCriterion("inspector =", value, "inspector");
            return (Criteria) this;
        }

        public Criteria andInspectorNotEqualTo(String value) {
            addCriterion("inspector <>", value, "inspector");
            return (Criteria) this;
        }

        public Criteria andInspectorGreaterThan(String value) {
            addCriterion("inspector >", value, "inspector");
            return (Criteria) this;
        }

        public Criteria andInspectorGreaterThanOrEqualTo(String value) {
            addCriterion("inspector >=", value, "inspector");
            return (Criteria) this;
        }

        public Criteria andInspectorLessThan(String value) {
            addCriterion("inspector <", value, "inspector");
            return (Criteria) this;
        }

        public Criteria andInspectorLessThanOrEqualTo(String value) {
            addCriterion("inspector <=", value, "inspector");
            return (Criteria) this;
        }

        public Criteria andInspectorLike(String value) {
            addCriterion("inspector like", value, "inspector");
            return (Criteria) this;
        }

        public Criteria andInspectorNotLike(String value) {
            addCriterion("inspector not like", value, "inspector");
            return (Criteria) this;
        }

        public Criteria andInspectorIn(List<String> values) {
            addCriterion("inspector in", values, "inspector");
            return (Criteria) this;
        }

        public Criteria andInspectorNotIn(List<String> values) {
            addCriterion("inspector not in", values, "inspector");
            return (Criteria) this;
        }

        public Criteria andInspectorBetween(String value1, String value2) {
            addCriterion("inspector between", value1, value2, "inspector");
            return (Criteria) this;
        }

        public Criteria andInspectorNotBetween(String value1, String value2) {
            addCriterion("inspector not between", value1, value2, "inspector");
            return (Criteria) this;
        }

        public Criteria andCreateByIsNull() {
            addCriterion("create_by is null");
            return (Criteria) this;
        }

        public Criteria andCreateByIsNotNull() {
            addCriterion("create_by is not null");
            return (Criteria) this;
        }

        public Criteria andCreateByEqualTo(String value) {
            addCriterion("create_by =", value, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByNotEqualTo(String value) {
            addCriterion("create_by <>", value, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByGreaterThan(String value) {
            addCriterion("create_by >", value, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByGreaterThanOrEqualTo(String value) {
            addCriterion("create_by >=", value, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByLessThan(String value) {
            addCriterion("create_by <", value, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByLessThanOrEqualTo(String value) {
            addCriterion("create_by <=", value, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByLike(String value) {
            addCriterion("create_by like", value, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByNotLike(String value) {
            addCriterion("create_by not like", value, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByIn(List<String> values) {
            addCriterion("create_by in", values, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByNotIn(List<String> values) {
            addCriterion("create_by not in", values, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByBetween(String value1, String value2) {
            addCriterion("create_by between", value1, value2, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByNotBetween(String value1, String value2) {
            addCriterion("create_by not between", value1, value2, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNull() {
            addCriterion("create_time is null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNotNull() {
            addCriterion("create_time is not null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeEqualTo(Date value) {
            addCriterion("create_time =", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotEqualTo(Date value) {
            addCriterion("create_time <>", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThan(Date value) {
            addCriterion("create_time >", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("create_time >=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThan(Date value) {
            addCriterion("create_time <", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
            addCriterion("create_time <=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIn(List<Date> values) {
            addCriterion("create_time in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotIn(List<Date> values) {
            addCriterion("create_time not in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeBetween(Date value1, Date value2) {
            addCriterion("create_time between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
            addCriterion("create_time not between", value1, value2, "createTime");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}